package com.example.text.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.text.entity.ExamineEntity;
import com.example.text.entity.User;


/**
 * 
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-07-27 09:19:31
 */
public interface ExamineService extends IService<ExamineEntity> {


    //查询所有采购审批表（分页）
    IPage<ExamineEntity> selectExaminePage (Page<ExamineEntity> page,int type);

    //根据煤量或编号查询采购审批表（分页）
    IPage<ExamineEntity> selectExaminePagebyWord (Page<ExamineEntity> page, String id, int type);

    //根据状态查询采购审批表
    IPage<ExamineEntity> selectExaminePagebyStatus (Page<ExamineEntity> page, int status,int type);

    //修改采购审批表状态
    ExamineEntity updateExamineStatus( ExamineEntity requestExamine,String username);


    //修改中标下达表状态
    ExamineEntity updateImplementStatus( ExamineEntity requestExamine,String username);

    //查询上一级的审核表（用来作废）
    ExamineEntity lastExamine(int fuleapplyId,int audit_status,int status);

    //修改中标审核表状态
    ExamineEntity updateImplenmentExamineStatus(ExamineEntity requestExamine, String username);

}

